package com.xyzq.dao.ya;

import java.util.Date;
import java.util.List;

import org.appfuse.dao.GenericDao;

import com.xyzq.model.ya.data.Account;

public interface AccountDAO extends GenericDao<Account, Long> {

	public Account findByAccountId(Integer accountId);

	public List<Account> findAccountWithDate(Date start, Date end);

	public List<Account> findShAccountWithDate(Date start, Date end);

	public List<Account> findSzAccountWithDate(Date start, Date end);
	
	public List<Account> findByAccountOrName(Integer account,String name);
}
